package com.gzck.gzck_verson2.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 传感器（采集仪）原始数据表
 * </p>
 *
 * @author 任永辉
 * @since 2024-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("g_sensor_original_relation")
public class GSensorOriginalRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 采集仪ID
     */
    private String rtuId;

    /**
     * 传感器ID
     */
    private Long sensorId;

    /**
     * 测值（要素）类型码
     */
    private String factorId;

    /**
     * 原始值
     */
    private String oriData;

    /**
     * 原始物理量单位
     */
    private String oriTypeUnit;

    /**
     * 备注
     */
    private String remard;

    /**
     * 小数点位数
     */
    private Integer oriDigits;

    private LocalDateTime uptime;

    private LocalDateTime ctime;


}
